package com.ghf.dp3.first;

//具体的装饰对象
public class ConcreteDecoratorA extends Decorator{
    private String address;

    @Override
    public void Operation() {
        //先执行 Component Operation(),再执行本类功能,相当于对Component进行了装饰
        super.Operation();
        address = "ConcreteDecoratorA";
        System.out.println(address);
    }
}
